/**
 * Created by Administrator on 2025/5/9.
 * */
#ifndef GLOBALPARAMETERS_ERA
#define GLOBALPARAMETERS_ERA

#include "Parameters.h"
#include <memory>

class GlobalParameters : public Parameters {

private:
GlobalParameters() {
}


public:
static GlobalParameters *shareInstance() {
static std::shared_ptr<GlobalParameters> pInstance(new GlobalParameters);

/** 对Ti6678，从核必须共享主核的实例 */
if (globalParametersInstance) {
return (GlobalParameters *) (globalParametersInstance);
}

return pInstance.get();
}
};
#undef add_parameter
#endif //GLOBALPARAMETERS_ERA
